package com.lmq.strategy.demo02;

public class NormalZombie extends Zombie{
    public NormalZombie() {
        super(new StepByStepMove(),new BiteAttack());

//        super();
    }

    public NormalZombie(Moveable moveable, Attackable attackable) {
        super(moveable, attackable);
    }

    @Override
    public void display() {
        System.out.println("我是普通僵尸");

    }

    @Override
    void move() {
        moveable.move();

    }

    @Override
    void attack() {
        attackable.attack();

    }
}
